#pragma once
#include <Windows.h>
#include "ImageView.h"
#include "drawmarginapp.h"
class DrawMarginApp;

class GrapghicsViewTimer
{
public:
	GrapghicsViewTimer(DrawMarginApp *const app);
	void initialise();
	inline bool getViewFlag(){return isview;}
	DrawMarginApp* getDrawMarginApp(){return _app;}
	void exitTimer();
	~GrapghicsViewTimer(void);

private:
	DrawMarginApp* _app;
	bool isview;
	HANDLE _viewHandle;
	DWORD _viewHdId;
};

